package com.WJY.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private String userName;
    private User user2;

    public void who() {
        System.out.println("user1是 = > " + this.userName + ",user2是 = > " + user2.userName);
    }
}
